<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta name="google-site-verification" content="FAc38ChycdCtNuMAL3aPDAoEj-NFSVidLujyCF7GcB0" />
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta property="fb:admins" content="{1005698858}"/>
    <title><?php
        // Add the blog name.
        bloginfo( 'name' );

        // Add the blog description for the home/front page.
        $site_description = get_bloginfo( 'description', 'raw' );
        if ( $site_description && ( is_home() || is_front_page() ) )
            echo " | $site_description";
        ?></title>
    <link rel="icon" href="http://vmrf.ru/favicon.ico" />
    <link rel="shortcut icon" href="http://vmrf.ru/favicon.ico" />
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <link rel="stylesheet" type="text/css" href="/wp-includes/css/mb.scrollable.css" />
    <link href="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/reset.css" rel="stylesheet" type="text/css" media="all" />
    <link href="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/typography.css" rel="stylesheet" type="text/css" media="all" />
    <link href="<?php echo get_template_directory_uri(); ?>/assets/fonts.css" rel="stylesheet" type="text/css" media="all" />
    <link href="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/forms.css" rel="stylesheet" type="text/css" media="all" />
    <link href="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/layout.css" rel="stylesheet" type="text/css" media="all" />
    <link href="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/print.css" rel="stylesheet" type="text/css" media="print" />
	<link href="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/up_scroll.css" rel="stylesheet" type="text/css"/>
    <!--[if lt IE 9]><link href="/assets/ie.css" rel="stylesheet" type="text/css" media="all" /><![endif]-->
    <script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/js.cycle.js"></script>
    <script type="text/javascript" src="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/js.common.js"></script>
	<script type="text/javascript" src="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/up_scroll.js"></script>
	<script type="text/javascript" src="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/select_region.js?123"></script>
<!-- Put this script tag to the <head> of your page -->
<script type="text/javascript" src="http://userapi.com/js/api/openapi.js?34"></script>
<script type="text/javascript">VK.init({apiId: 2625332, onlyWidgets: true});</script>
    <?php wp_head(); ?>
</head>

<body>
<div id="layout">
  <div class="user_panel">
    <div class="c">
      <div class="search">
      <form id="searchform" action="http://vmrf.ru/" method="get" role="search">
        <input type="text"
               id="s"
               class="input-txt-s" 
               onfocus="if (this.value == 'Поиск по сайту') { this.value=''; }" 
               onblur="if (this.value == '') { this.value='Поиск по сайту' }" 
               value="Поиск по сайту" 
               name="s"/>
        <input id="searchsubmit"
               type="submit"
               class="input-submit" />
        </form>
      </div>
      <div class="social">
        <a href="http://twitter.com/vsyamolodej"><img src="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/images/soc_1.png" alt="" /></a>
        <a href=""><img src="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/images/soc_2.png" alt="" /></a>
        <a href="http://vkontakte.ru/vmrfru"><img src="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/images/soc_3.png" alt="" /></a>
        <a href=""><img src="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/images/soc_4.png" alt="" /></a>
        <a href=""><img src="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/images/soc_5.png" alt="" /></a>
      </div>
      <div class="no_user">
        <div id="signin-window">
      <form name="loginform" id="loginform" action="/wp-login.php" method="post">
	  <div class="signin_form"> <a href="/wp-login.php?action=lostpassword" class="remember">забыли?</a>
            <div class="input">
              <input type="text" name="log" onfocus="if (this.value == 'Логин') { this.value=''; }" onblur="if (this.value == '') { this.value='Логин' }" value="Логин" />
            </div>
            <div class="input input-pass">
              <input type="password" onKeyPress = "if (event.keyCode==13) loginform.submit();" name="pwd" onfocus="if (this.value == 'Пароль') { this.value=''; }" onblur="if (this.value == '') { this.value='Пароль' }" value="Пароль" />
            </div>
            <a onclick='loginform.submit();' class="input-submit"><span> <img src="<?php echo ay()->config()->get_template_directory_uri(); ?>/assets/images/login_img.png" alt="" /> Войти</span></a>
            <div class="check">
              <input name="rememberme" type="checkbox" id="check" checked/>
              <label for="check">Запомнить меня</label>
            </div>
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI'];?>" />
</form>
<!--<div class="clear"></div>

            <div class="social_login">

            <div>
              <p>Зарегистрируйтесь</p>        
         </div>

          </div>-->

            </div>
        </div>
<span id='current_user_info'>
 <a href="javascript:;" id="signin">Войти</a> или <a href="/wp-login.php?action=register">Зарегистрироваться</a></span>  
      <span id='enter_exit_link'></span></div>
   </div>
  </div>
    
  <div id="wrap" class="clearfix">
    <!--header-->
    <div id="header">
      <h1 class="logo"><a href="/" title="seo title"></a></h1>
      <div class="quote">
        <p><?php echo html_entity_decode($site_description); ?></p>
        <!--em>Дмитрий Медведев</em--></div>
    </div>
    <!--header end--> 
